package com.shujia.userController;

import com.shujia.uerService.StudentService;
import com.shujia.user.Student;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class StudentController {
    @GetMapping("/select")
    public Student queryStudentById(String id){
        Student student = new StudentService().QueryStudentById(id);
        return student;
    }
}
